home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 August (Alt) / CHIP 2005-08.1.iso / program / guvenlik / syslinux-3.07.exe / com32 / lib / init.h < prev    next >
Encoding:
C/C++ Source or Header  |  2004-11-10  |  270 b   |  16 lines

  1. /*
  2.  * init.h
  3.  *
  4.  * Magic to set up initializers
  5.  */
  6.  
  7. #ifndef _INIT_H
  8. #define _INIT_H 1
  9.  
  10. #include <inttypes.h>
  11.  
  12. #define COM32_INIT(x) static const void * const  __COM32_INIT \
  13.     __attribute__((section(".init_array"),unused)) = (const void * const)&x
  14.  
  15. #endif /* _INIT_H */
  16.